﻿package net.wangit.jdbc;

import net.wangit.framework.exception.NestableException;

/**
 * JDBC异常类
 * 
 * @author watson
 * 
 */
@SuppressWarnings("serial")
public class JDBCException extends NestableException {

	public JDBCException(String s) {
		super(s);
	}

	public JDBCException(String s, Throwable cause) {
		super((new StringBuilder(s)).append("\n[Message:] ").append(
				cause.getMessage()).toString(), cause);
	}
}
